package com.corechina.apex_osswords.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.corechina.apex_osswords.common.Response;
import com.corechina.apex_osswords.domain.dto.CoreEnterpriseEngineerDto;
import com.corechina.apex_osswords.domain.dto.CoreMaintenanceEngineerDto;
import com.corechina.apex_osswords.domain.entity.CoreMaintenanceEngineer;

/**
 * <p>
 * 运维人员信息表 服务类
 * </p>
 *
 * @author cc
 * @since 2022-03-11
 */
public interface ICoreMaintenanceEngineerService extends IService<CoreMaintenanceEngineer> {

    Response add(CoreMaintenanceEngineerDto coreMaintenanceEngineerDto);

    Response getList(String name, String company, String engineerType, Integer serviceId, Integer userType, Integer pageIndex, Integer pageSize);

    Response getOne(Integer id);

    Response getByTel(String tel, Integer enterpriseId, Integer serviceId, Integer engineerType);

    Response addEnterpriseEngineer(CoreEnterpriseEngineerDto coreEnterpriseEngineerDto);

    Response delete(Integer id, Integer serviceId);

}
